import Vue from 'vue'
import App from './App'
import store from './store'   // 引入 vuex
import request from './common/http.js'
import share from './store/share.js'

// 引入全局的 Less 变量
// import '@/static/styles/base.less'  // 确保路径正确

Vue.config.productionTip = false

Vue.prototype.$store = store
Vue.prototype.$request = request
Vue.mixin(share)

App.mpType = 'app'

const app = new Vue({
    ...App,
    store
})

app.$mount()

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif
